package com.microservices.cloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.microservices.cloud.entities.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handlerException1(BlockException ex) {
        return new CommonResult(500, "按照客户自定义的，global handlerException-------------1");
    }


    public static CommonResult handlerException2(BlockException ex) {
        return new CommonResult(500, "按照客户自定义的，global handlerException-------------2");
    }

}
